/**
 * Created by JetBrains WebStorm.
 * User: Silence
 * Date: 3/10/12
 * Time: 11:57 PM
 * To change this template use File | Settings | File Templates.
 */
Ext.require([
    'Ext.data.*',
    'Ext.grid.*',
    'Ext.tree.*'
]);

Ext.define('EM.view.event.EventBudgetView' ,{
    extend: 'Ext.panel.Panel',
    alias: 'widget.eventbudgetview',
    title: 'Budget Report',
    preventHeader: true,
    layout: {
        type: 'border'
    },
    models: ['budget.BudgetTree'],
    initComponent: function() {
        Ext.QuickTips.init();
        this.items = [
            {
                xtype: 'budgettreepanel',
                id: 'budgettreepanel',
                region: 'center',
                title: 'Budget Report'
            },
            {
                xtype: 'itemdetailpanel',
                id: 'itemdetailpanel',
                region: 'east',
                title: 'Detail Panel',
                width: 300
            }
        ]
        this.callParent(arguments);
    }
});